#include "Setting.h"
#include "../../ID/Scene.h"
#include "../../Utility/IO/DeviceInput/SceneInput.h"
#include "../../Utility/Draw/Renderer.h"
#include "../../ID/TextureID.h"
namespace SettingScene
{
	Setting::Setting(){}

	Setting::~Setting(){}

	void Setting::initialize()
	{
		_resources.loadResource();
	}

	void Setting::update( float frameTimer ){ frameTimer; }

	void Setting::draw()
	{
		Renderer::getInstance()->draw2D(TextureID::T_SETTING);
	}

	void Setting::finish()
	{
		_resources.releaseResource();
	}

	bool Setting::isEnd() const{ 
		return SceneInput::getInstance()->isNextSceneButoonDown();
	}

	Scene Setting::next() const
	{
		return Scene::S_MENU; 
	}
};